<%-- 
    Document   : book
    Created on : Oct 12, 2011, 10:06:12 PM
    Author     : Sammy
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:include page="/header.jsp"></jsp:include>
<h1>
    Pemesanan tiket Anda telah kami proses
</h1>
<h2>
    Setelah Anda melakukan pembayaran segera lakukan konfirmasi dengan memasukkan nomor pembayaran dibawah ini.
</h2>
<br />
<table>
    <tr>
        <td><span style="font-weight: bold; color: red;">Nomor Pembayaran</span></td>
        <td><span style="font-weight: bold; color: red;">${code}</span></td>
    </tr>
    <tr>
        <td>Nama Lengkap</td>
        <td>${user.name}</td>
    </tr>
    <tr>
        <td>Email</td>
        <td>${user.email}</td>
    </tr>
    <tr>
        <td>Nomor Telepon</td>
        <td>${user.phone}</td>
    </tr>
</table>
<br /><br />
<h2>
    Itinary Details
</h2>
<br />
<table>
    <tr>
        <td>Date</td>
        <td style="text-transform: capitalize">${date}</td>
    </tr>
    <tr>
        <td>Kota Keberangkatan</td>
        <td>${service.originCity}</td>
    </tr>
    <tr>
        <td>Pool Keberangkatan</td>
        <td>${service.originPool}</td>
    </tr>
    <tr>
        <td>Kota Tujuan</td>
        <td>${service.destinationCity}</td>
    </tr>
    <tr>
        <td>Pool Tujuan</td>
        <td>${service.destinationPool}</td>
    </tr>
    <tr>
        <td>Kelas</td>
        <td>${service.className}</td>
    </tr>
    <tr>
        <td>Jam</td>
        <td>${service.hour}</td>
    </tr>
    <tr>
        <td>Tarif</td>
        <td>${service.fare}</td>
    </tr>
</table>
<br />
<a href="javascript:window.print()">
    <button>Print</button>
</a>
<jsp:include page="/footer.jsp"></jsp:include>
